<?php

namespace App\MyTrait;

trait MyResponse
{
    protected function mResponse($data, $msg = 'success', $code = 0)
    {
        return response()->json(\App\Server\Util::responseRetArr($data, $msg, $code));
    }
}
